翻訳と辞書 |
K-ary tree In graph theory, a k-ary tree is a rooted tree in which each node has no more than ''k'' children. It is also sometimes known as a k-way tree, an N-ary tree, or an M-ary tree. A binary tree is the special case where ''k=2''. ==Types of k-ary trees==
*A full k-ary tree is a k-ary tree where within each level every node has either ''0'' or ''k'' children. *A perfect k-ary tree is a full 〔(【引用サイトリンク】title=Ordered Trees )〕 k-ary tree in which all leaf nodes are at the same depth. *A complete k-ary tree is a k-ary tree which is maximally space efficient. It must be completely filled on every level (meaning that each node on that level has k children) except for the last level. However, if the last level is not complete, then all nodes of the tree must be "as far left as possible".
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「K-ary tree」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|